package com.pan.service;


import com.pan.annotation.GoodsExist;
import com.pan.entity.Result;
import com.pan.vo.Cart;
import com.pan.vo.CartVo;

import java.util.List;

public interface CartService {



    Result addCart(String userTicket, List<CartVo> cartVoList);

    Result<List<Cart>> getAllCartByUser(String userTicket);

    Result deleteGoods(String userTicket, Long goodsId);

    Result updateGoodsCount(String userTicket, Long goodsId, Integer count);
}
